<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11"
                        style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/archives/repository" aria-expanded="true">${i18n('archives.rlm')} </a></li>
                        <li class=""><a href="/app/core/archives/repository?view=create" aria-expanded="false">${i18n('archives.rlc')}</a>
                        </li>
                    </ul>
                    <div class="tab-content tabs-flat" style="padding: 0px;">
                        <div class="row">
                            <div class="col-md-12 col-sm-12 col-xs-12" id="repositorylistdiv">
                                <table class="table table-hover table-striped table-bordered">
                                    <thead>
                                    <tr>
                                        <td>${i18n('system.sortNo')}</td>
                                        <td>${i18n('archives.rtitle')}</td>
                                        <td>${i18n('archives.radmin')}</td>
                                        <td>${i18n('system.createTime')}</td>
                                        <td>${i18n('system.createUser')}</td>
                                        <td style='width: 200px;'>${i18n('system.opt')}</td>
                                    </tr>
                                    </thead>
                                    <tbody id="repositorylist">

                                    </tbody>
                                </table>
                            </div>
                            <div class="col-md-12 col-sm-12 col-xs-12" id="repositorydiv" style="display: none;">
                                <div class="row">
                                    <div class="col-md-offset-2 col-md-8 col-sm-12 col-xs-12">
                                        <form class="form-horizontal" id="form1">
                                            <table class="table table-hover table-striped table-bordered">
                                                <tr>
                                                    <td width="20%">${i18n('system.sortNo')}：</td>
                                                    <td width="30%"><input placeholder="${i18n('system.sortNo')}" type="number" name="sortNo"
                                                                           id="sortNo" class="form-control"
                                                                           maxlength="10"></td>
                                                    <td width="20%">${i18n('archives.rtitle')}：</td>
                                                    <td width="30%">
                                                        <input placeholder="${i18n('archives.rtitle')}" type="text" name="title" id="title"
                                                               maxlength="100" class="form-control"></td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">${i18n('system.userPriv')}：</td>
                                                    <td width="30%" colspan="2"><textarea placeholder="${i18n('system.queryPriv')}" rows="5"
                                                                                          name="userPriv" id="userPriv"
                                                                                          class="form-control"
                                                                                          readonly="readonly"></textarea>
                                                    </td>
                                                    <td width="30%"><a style="cursor: pointer;" opt-id="userPriv"
                                                                       onclick="selectUser(this,'true');">${i18n('system.select')}</a> <a
                                                            style="cursor: pointer;" onclick="clearSelect('userPriv')">${i18n('system.clear')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">${i18n('system.deptPriv')}：</td>
                                                    <td width="30%" colspan="2"><textarea placeholder="${i18n('system.queryPriv')}" rows="5"
                                                                                          name="deptPriv" id="deptPriv"
                                                                                          class="form-control"
                                                                                          readonly="readonly"></textarea>
                                                    </td>
                                                    <td width="30%"><a style="cursor: pointer;" opt-id="deptPriv"
                                                                       onclick="selectDept(this,'true');">${i18n('system.select')}</a> <a
                                                            style="cursor: pointer;" onclick="clearSelect('deptPriv')">${i18n('system.clear')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">${i18n('system.levelPriv')}：</td>
                                                    <td width="30%" colspan="2"><textarea placeholder="${i18n('system.queryPriv')}" rows="5"
                                                                                          name="levelPriv"
                                                                                          id="levelPriv"
                                                                                          class="form-control"
                                                                                          readonly="readonly"></textarea>
                                                    </td>
                                                    <td width="30%"><a style="cursor: pointer;" opt-id="levelPriv"
                                                                       onclick="selectUserLevel(this,'true');">${i18n('system.select')}</a> <a
                                                            style="cursor: pointer;" onclick="clearSelect('levelPriv')">${i18n('system.clear')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">${i18n('archives.radmin')}：</td>
                                                    <td width="30%" colspan="2"><textarea placeholder="${i18n('archives.radmin')}" rows="5"
                                                                                          name="manageUser"
                                                                                          id="manageUser"
                                                                                          class="form-control"
                                                                                          readonly="readonly"></textarea>
                                                    </td>
                                                    <td width="30%"><a style="cursor: pointer;" opt-id="manageUser"
                                                                       onclick="selectUser(this,'false');">${i18n('system.select')}</a> <a
                                                            style="cursor: pointer;"
                                                            onclick="clearSelect('managePriv')">${i18n('system.clear')}</a>
                                                    </td>
                                                </tr>
                                                <tr>
                                                    <td width="20%">${i18n('system.remark')}：</td>
                                                    <td width="30%" colspan="3"><textarea id="remark" name="remark"
                                                                                          class="form-control"
                                                                                          rows="5"></textarea></td>
                                                </tr>
                                                <tr>
                                                    <td colspan="4" align="center">
                                                        <a href="javascript:void(0);" class="btn btn-primary js-update-save">${i18n('system.update')}</a>
                                                        <a href="javascript:void(0);" class="btn btn-purple js-back-btn" style="margin-left: 20px;">返&nbsp;&nbsp;回</a>
                                                    </td>
                                                </tr>
                                            </table>
                                        </form>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/gobal/js/page/archives/lang/${localeLang()}.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/orgselect/orgselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/archives/repositorymanage.js"></script>
</body>
</html>
